package com.wwyx.pojo;

import java.io.Serializable;
import java.util.Date;

public class Coupon implements Serializable {
    private Integer couponId;

    private Integer couponType;

    private Integer amount;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Coupon(Integer couponId, Integer couponType, Integer amount, Date startTime, Date endTime, Date createTime, Date updateTime) {
        this.couponId = couponId;
        this.couponType = couponType;
        this.amount = amount;
        this.startTime = startTime;
        this.endTime = endTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Coupon() {
        super();
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}